import React from 'react';
import { Router, Route, IndexRoute } from 'react-router-dom';
import logo from './logo.svg';
import './App.css';

import * as A from 'antd-mobile';
import 'antd-mobile/dist/antd-mobile.min.css';

import Home from './Home';

const Admin = () => {
  return (
    <h2>Admin</h2>
  )
};

function App() {
  return (
    <div className="App">

      <A.Button onClick={(e) => { alert(1) }} type="primary">111</A.Button>

      <A.Badge text="减" hot style={{ marginLeft: 12 }} />

      <Home></Home>


    </div>



  );
}

export default App;
